package messages.user;

import info.Passenger;
import messages.Message;

import java.io.Serializable;

public class RegisterRequestMessage extends Message implements Serializable {

    private Passenger passenger;

    public RegisterRequestMessage(Passenger passenger) {
        super(MSG_TYPE.MSG_REGISTER_REQ);
        this.passenger = passenger;
    }

    public Passenger getPassenger() {
        return passenger;
    }
}
